package com.yfl.tingyu.service;

import com.yfl.tingyu.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2020-05-26
 */
public interface IRoleService extends IService<Role> {

    Map<String,Object> selectRole(Integer page, Integer rows);

    Boolean insertOrUpdate(Role role,Integer[] mids);

    Boolean removeRoleMenu(Integer[] rids);
}
